-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
2.4.5
-
Code
-
Classes
- YAYDP_Rule
Total Complexity |
53 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
227 |
Lines of code |
106 |
Logical lines of code |
55 |
Comment lines |
94 |
Methods |
21 |
Properties |
1 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_end_in_future() |
S |
60 |
8 |
11 |
get_tooltip() |
S |
59 |
5 |
13 |
is_in_schedule() |
S |
60 |
5 |
11 |
is_upcoming() |
S |
63 |
5 |
9 |
is_running() |
S |
75 |
3 |
4 |
is_reach_limit_uses() |
S |
65 |
3 |
9 |
get_condition_match_type() |
S |
77 |
2 |
3 |
get_conditions() |
S |
77 |
2 |
3 |
get_type() |
S |
78 |
2 |
3 |
get_pricing_type() |
S |
77 |
2 |
3 |
get_pricing_value() |
S |
77 |
2 |
3 |
get_maximum_adjustment_amount() |
S |
74 |
2 |
4 |
get_name() |
S |
78 |
2 |
3 |
get_id() |
S |
78 |
2 |
3 |
is_enabled_schedule() |
S |
70 |
2 |
6 |
is_enabled() |
S |
79 |
1 |
3 |
get_data() |
S |
82 |
1 |
3 |
check_conditions() |
S |
78 |
1 |
3 |
increase_use_time() |
S |
80 |
1 |
3 |
get_conditions_encouragements() |
S |
78 |
1 |
3 |
__construct() |
S |
81 |
1 |
3 |